<?php

namespace App\Jobs;

class MqDataToEsJob extends Job
{
    protected $mqData;
    /**
     * Create a new job instance.
     *
     * @return void
     */
    public function __construct($mqData)
    {
        echo "get data\n";
        $this->mqData = $mqData;
    }

    /**
     * Execute the job.
     *
     * @return void
     */
    public function handle()
    {
        //
        var_dump($this->mqData);
    }
}
